package com.koron.css2.serviceManage.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * 树结构
 * 
 * @author 许海宜
 *
 */
public class TreeBean {

	private String id; // 树id
	private String code; // 树code编码
	private String name; // 树名称
	private String parent; // 父级id
	private Integer isLeaf; // 叶子节点
	private boolean isParent;
	private String group;
	private String[] districtArr;// 前端操作变量
	private String bankNumber;

	/*
	 * 建立时间
	 */
	private String createTime;

	/*
	 * 建立人
	 */
	private String createName;

	/*
	 * 负责人
	 */
	private String kahuna;

	/*
	 * 联系人
	 */
	private String linker;

	/*
	 * 备注
	 */
	private String remarks;


	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getCreateName() {
		return createName;
	}

	public void setCreateName(String createName) {
		this.createName = createName;
	}

	public String getKahuna() {
		return kahuna;
	}

	public void setKahuna(String kahuna) {
		this.kahuna = kahuna;
	}

	public String getLinker() {
		return linker;
	}

	public void setLinker(String linker) {
		this.linker = linker;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getGroup() {
		return group;
	}

	public void setGroup(String group) {
		this.group = group;
	}

	public void setParent(boolean isParent) {
		this.isParent = isParent;
	}

	public boolean getIsParent() {
		return isParent;
	}

	public void setIsParent(boolean isParent) {
		this.isParent = isParent;
	}

	private List<OperatorBean> sonData;

	public List<OperatorBean> getSonData() {
		return sonData;
	}

	public void setSonData(List<OperatorBean> sonData) {
		this.sonData = sonData;
	}

	public Integer getIsLeaf() {
		return isLeaf;
	}

	public void setIsLeaf(Integer isLeaf) {
		this.isLeaf = isLeaf;
	}

	private ArrayList<TreeBean> children = new ArrayList<>(); // 下级目录

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public ArrayList<TreeBean> getChildren() {
		return children;
	}

	public void setChildren(ArrayList<TreeBean> children) {
		this.children = children;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getParent() {
		return parent;
	}

	public void setParent(String parent) {
		this.parent = parent;
	}

	public String[] getDistrictArr() {
		return districtArr;
	}

	public void setDistrictArr(String[] districtArr) {
		this.districtArr = districtArr;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getBankNumber() {
		return bankNumber;
	}

	public void setBankNumber(String bankNumber) {
		this.bankNumber = bankNumber;
	}
}
